package org.dromara.chicken.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;

import java.io.Serial;

/**
 * 加工详情对象 farm_process_info
 *
 * @author MrLei QQ:235921049
 * @date 2024-06-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("farm_process_info")
public class FarmProcessInfo extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private String id;

    /**
     *
     */
    private Long orderId;

    /**
     * 商品分类
     */
    private Long productsCateId;

    /**
     * 商品ID
     */
    private Long productId;

    /**
     * 数量
     */
    private BigDecimal amount;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 小计
     */
    private BigDecimal money;

    /**
     * 库存数量
     */
    private String stock;


}
